body {
  max-width: 540px;
  min-width: 320px;
  margin: 0 auto;
  font: normal 14px/1.5 Tahoma, "Lucida Grande", Verdana,"Microsoft Yahei",STXihei, hei;
  color: #000;
  background: #f2f2f2;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
a {
  text-decoration: none;
  color: #222;
}
div {
  box-sizing: border-box;
}
ul{
  list-style: none;
  margin: 0;
  padding: 0;
}
.indexsearch{
  /* 使用固定定位必须设置自己的高度宽度，与父级无关
   */
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 44px;
  background-color:tomato;
  /* 设置最大最小宽度 防止盒子与屏幕宽度一样*/
  max-width: 540px;
  min-width: 320px;
  /* 实现盒子居中 */
  left: 50%;
 -webkit-transform: translate(-50%);
 display: flex;
}
/* 盒子和文字 */
.search{
  flex: 1;
  position: relative;
  height: 26px;
  border: solid 1px white;
  border-radius: 5px;
  margin: 8px;
  padding-left: 22px;
  line-height: 24px;
  font-size: 12px;
  color: #666;
  box-shadow: black rgba(0, 0, 0, .2);
}
/* 放大镜 */
.search::before{
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 15px;
  height: 15px;
  background: url(../images/sprite.png) no-repeat -59px -279px;
  background-size: 104px auto;
}
.user{
width: 44px;
height: 44px;  
text-align: center;
font-size: 12px;
color: #fff;
background-color: turquoise;
}
.user::before{
  content: "";
  display: block;
  /* 设置大小 */
  width: 23px;
  height: 23px;
  /* 插入图片 */
  background: url(../images/sprite.png) no-repeat -59px -194px;
  /* 设置二倍图 */
  background-size: 104px auto;
  margin: 4px auto 0;
}
.focus{
  margin-top: 44px;
}
.focus img{
  width: 100%;
}
.local-nav{
  height: 64px;
  background-color: #fff;
  margin: 3px 4px;
  border-radius: 5px;
  display: flex;
}
.local-nav li{
  flex: 1;
}
.local-nav a{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 7px;
}
.local-nav li [class^="local-nav-icon"] {
  background: url(../images/localnav_bg.png) no-repeat 0 0;
  background-size: 32px auto;
  width: 32px;
  height: 32px;
}
.local-nav li .local-nav-icon-icon1 {
  background-position: 0 -32px;
}
.local-nav li .local-nav-icon-icon2 {
  background-position: 0 -64px;
}
.local-nav li .local-nav-icon-icon3 {
  background-position: 0 -96px;
}
.local-nav li .local-nav-icon-icon4 {
  background-position: 0 -128px;
}
.nav {
  display: flex;
  flex-direction: column;
  border-radius: 5px;
  overflow: hidden;
}
.nav .nav-div{
  
  height: 88px;
  width: 100%;
 
  display: flex;
}
.nav .nav-div:nth-child(2){
  margin-top: 3px;
  margin-bottom: 3px;
}
.nav .nav-div .nav-item{
flex: 1;
background-color: tomato;
display: flex;
flex-direction: column;
}
.nav .nav-div .nav-item a{
  text-align: center;
  line-height: 44px;
  font-size: 12px;
  color: #fff;
  flex: 1;
}
.nav .nav-div .nav-item a:nth-child(1){
  border-bottom: solid 2px white;
}
.nav .nav-div .nav-item:nth-child(2){
  margin-left: 3px;
  margin-right: 3px;
}
.nav-item:nth-child(1){
  background: url(../images/hotel.png) no-repeat bottom center;
  background-size: 100%;
}
.sub-nav{
  display: flex;
  flex-wrap: wrap;
  background-color: white;
  border-radius: 8px;
}
.sub-nav li {
  flex: 20%;
}

.sub-nav li a{
  display: flex;
  flex-direction: column;
  align-items: center;
  color: black;
}
.sub-nav li a .sub-icon{
  margin-top: 5px;
  background: url(../images/subnav-bg.png) no-repeat 0 0;
  height: 28px;
  width: 28px;
  background-size: 28px auto;
}
.salesbox{
  border-top: solid 1px white;
  margin-top: 6px;
}
.salesbox .saleshd{
  height: 44px;
  width: 100%;
  background-color: white;
}

.saleshd a::before{
  content: "";
  display: inline-block;
  left: 0;
  top: 0;
  width: 144px;
  height: 40px;
  background: url(../images/hot.png) no-repeat 0 -20px;
  background-size: 79px auto;
  margin-top: 12px;
  margin-left: 10px;
}
.salesbd .row{
  display: flex;
}
.row{
  flex: 1;
}